package com.itheima.health.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.health.pojo.Order;

import java.util.Collection;
import java.util.Map;
import java.util.function.Function;

public class OrderServiceMock implements OrderService{
    @Override
    public Order add(Map map) throws InterruptedException {
        throw new RuntimeException("系统检测到您当前网络波动较大,请您稍后进行预约!!!");
    }

    @Override
    public Map selectOrderInfoByOrderId(Integer id) {
        return null;
}

    @Override
    public Integer getDayReservations() {
        return null;
    }

    @Override
    public Integer getMonthReservations() {
        return null;
    }

    @Override
    public Integer getWeekReservations() {
        return null;
    }

    @Override
    public Integer getFinishDay() {
        return null;
    }

    @Override
    public Integer getFinishWeek() {
        return null;
    }

    @Override
    public Integer getFinishMonth() {
        return null;
    }

    @Override
    public void updateByOrderId(Integer orderId) {

    }

    @Override
    public Integer findState(Integer id) {
        return null;
    }

    @Override
    public boolean saveBatch(Collection<Order> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdateBatch(Collection<Order> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean updateBatchById(Collection<Order> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdate(Order entity) {
        return false;
    }

    @Override
    public Order getOne(Wrapper<Order> queryWrapper, boolean throwEx) {
        return null;
    }

    @Override
    public Map<String, Object> getMap(Wrapper<Order> queryWrapper) {
        return null;
    }

    @Override
    public <V> V getObj(Wrapper<Order> queryWrapper, Function<? super Object, V> mapper) {
        return null;
    }

    @Override
    public BaseMapper<Order> getBaseMapper() {
        return null;
    }
}
